<template>
	<view class="">
		<image :src="data.avatar" class="db w-max h370" mode="aspectFit"></image>
		<view class="p20">
			<view class="bg-fff mb20 radius20 p20">
				<view class="fs30 color-232323 fw-700">{{data.name}}</view>
				<view class="fs26 mt20">
					<text class="color-999">陪诊次数：</text>
					<text class="color-232323">{{data.num}}</text>
					<text class="color-999">次</text>
				</view>
				<view class="fs26 mt20">
					<text class="color-999">陪诊医院：</text>
					<text class="color-232323">{{data.hospital}}</text>
				</view>
			</view>
			<view class="flex mb20">
				<view class="border-11CBC5 bg-fff flex row-center  flex1 h88  radius12"
					@click="$tool.phone(data.mobile)">
					<image src="/static/img/index/call.png" class="h42 w42" mode=""></image>
					<view class="fs28 color-232323 ml30">电话咨询</view>
				</view>
				<view class="border-46A6FE bg-fff flex row-center flex1 ml20 h88 radius12" @click="$goChat({to_id:data.id,to_identify:'organ'})">
					<image src="/static/img/index/news.png" class="h42 w42" mode=""></image>
					<view class="fs28 color-232323 ml30">在线咨询</view>
				</view>
			</view>
			<view class="radius20 bg-fff mb20 p20 pb26">
				<view class="flex">
					<view class="fs28 fw-700 bottom pb6">机构简介</view>
				</view>
				<view class="mt20 fs26 color-666 lh15">{{data.profile}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "orgD",
		props: {
			data: {
				default: ''
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">

</style>
